<cfcomponent extends="Model">
	<cffunction name="init">
		<cfscript>
			hasMany(name="employeeStudents", shortcut="students", through="employeeStudent,student", foreignKey="employee_id");
			nestedProperties(associations="employeeStudents");
				
			for(column IN ListToArray("last_name,first_name,address,city,state,zip,email")) {
				property(name=column, defaultValue="");
			}
			
			property(name="password", defaultValue="welcome");
		</cfscript>
	</cffunction>
</cfcomponent>